﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class ePioneer_Reservation
    {
        public ePioneer_Reservation()
        { }
        #region Model
        private int _id;
        private string _userid;
        private int _courseinfoid;
        private DateTime _createdate = DateTime.Now;
        private int _score = 0;
        private int _isclose = 0;
        private string _code;
        /// <summary>
        /// 验证码
        /// </summary>
        public string Code
        {
            get { return _code; }
            set { _code = value; }
        }
        /// <summary>
        /// 主键
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户
        /// </summary>
        public string UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 课程
        /// </summary>
        public int CourseInfoId
        {
            set { _courseinfoid = value; }
            get { return _courseinfoid; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 评分
        /// </summary>
        public int Score
        {
            set { _score = value; }
            get { return _score; }
        }
        /// <summary>
        /// 是否听过该课(0未听，1已听)
        /// </summary>
        public int IsClose
        {
            set { _isclose = value; }
            get { return _isclose; }
        }
        #endregion Model
    }
}
